//
//  FullScreenImage.m
//  WeCommunity
//
//  Created by mac on 2017/7/12.
//  Copyright © 2017年 lzy. All rights reserved.
//

#import "FullScreenImage.h"

@implementation FullScreenImage

-(NSString *)fullImagePath
{
    if (_fullImagePath.length > 0) {
        _fullImagePath = [_fullImagePath stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
    }
    return _fullImagePath;
}

-(NSString *)thumImagePath
{
    if (_thumImagePath.length > 0) {
        _thumImagePath = [_thumImagePath stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
    }
    
    return _thumImagePath;
}

-(UIImage *)placeholderImage
{
    if (self.showImageView) {
        _placeholderImage = self.showImageView.image;
    }else{
        _placeholderImage  = [UIImage imageNamed:@"placeholder"];
    }
    return _placeholderImage;
}


@end
